package cn.com.surker.enums.oa;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年10月04 6:46
 * @desc 财务付款费用枚举
 */
public enum PaymentEnum implements IDescription {

    EXPENSES(0,"报销付款"), BORROW(1,"借支付款,"),
    MATERIAL(2,"材料付款"), PRODUCTION(3, "生产付款"),
    OTHER(4,"其他");

    private final String description;

    private final Integer code;

    PaymentEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
